package com.prp.gwt.client.user.profile;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.prp.gwt.client.vo.User;

public interface ProfileServiceAsync{
	public void updateUserInfo(User user, AsyncCallback<Void> callback);
	public void modifyPassword(String oldPassword, String newPassword, AsyncCallback<Boolean> callback);
	public void modifyRegName(String regName, AsyncCallback<Boolean> callback);
	public void modifyRealName(String realName, AsyncCallback<Boolean> callback);
	public void modifyAddress(String address, AsyncCallback<Boolean> callback);
	public void modifyBlog(String blog, AsyncCallback<Boolean> callback);
	public void modifyIntroduction(String introduction, AsyncCallback<Boolean> callback);
}
